package io.github.ilkgunel.pojo;

public class Student_course {
    /*
    学号sid、课程号cid、成绩score、教师编号tid
    课程名字cname
    教师名字 tname
    学分 credit
    * */

    private String _id;
    private String sid;
    private String cid;
    private Integer score;
    private String tid;
    private String cname;
    private String tname;
    private Integer credit;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Student_course{" +
                "_id='" + _id + '\'' +
                ", sid=" + sid +
                ", cid=" + cid +
                ", score=" + score +
                ", tid=" + tid +
                ", cname='" + cname + '\'' +
                ", tname='" + tname + '\'' +
                ", credit=" + credit +
                '}';
    }
}
